<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<style>
			a[id*=l]{
				width: 40px;
				padding-left: 20px;
				height: 40px;
				text-align: center;
				font-size: 25px;
				background-color: aquamarine;
				text-decoration: none;
			}
			a[id$=l4]{
				background-color: black;
			}
			a,div,p{
				
			}
		</style>
	</head>
	<body>
		<a href="#" id="l1">1</a>
		<a href="#" id="l2">2</a>
		<a href="#" id="l3">3</a>
		<a href="#" id="l4">4</a>
		<a href="#" id="l5">5</a>
		<a href="#" id="l6">6</a>
		<a href="#" id="l7">7</a>
	</body>
</html>
